Move animations to CSS