changed animation to work with animate.css