Support switching of view controllers by setViewControllers method