Create viewDidFinishTransition callback.