Replaced jQuery by CSS animations in homepage