Added a method to allow a block to be called when half of the animation
has completed.