Adding the main index animation.