Add animation to captions