Modified index.html and style.css to set up flip animation