Added progress callback to expose the current animation frame.