animation for flexslider