using animate.css instead of transition