move animations to css