added some animation to html5