added animationStarted callback