Added callback once animation is finished.

In case you want to execute code when the animation is done.