fixed animate problem

fixed animate problem, but the grid movement still looks kind of wrong