adding the animation on the last div