Add CSS3 animation on element