animating the index page