Add support for completion block after progressing and stopping animation.

Add support for completion block after progressing and stopping animation.