get the css out of index.html and add some animations