Add CSS3 animation option
Fix bug with autoplay