replace animate with css3