got css3 animation working for grid