using css 3d transforms to animate the homepage more smoothly