Calling willMoveToParentViewController when switching center view controllers.