Some animations in html/css3/js