clean up CSS3 animations a bit