Fixing animations in Chrome