adding animation to a slide