Use CSS animations instead of jquery animate for homepage