Add will-cancel-callback before cancel animation is performed.