fix css animation