funcs to replace the viewControllers in a navigation stack