Using css3 animations instead of jquery animate