change animation to use css only