Fix animate to css