corrected animations with variable gravity