moved animation from index.html to here