Generalize _stepAnimation