add animation to html