How to create and manage animations with jQuery's animate() method?