animation step function is called when animation completes, before complete function
animation step function is called when animation completes, before complete function