some changes for slide viewController logic