updating html5 and CSS3 transitions