Modifying timing of animations