Add possibility to use CSS3 transitions for animations