use css3 animation instead of jquery effect