needed to add animation to index.html