Css animation fix.