Keyframes fix - putting keyframe at top of css