option to set an animation completion block