Added support for the customization of the return to source animation.