Making the home page work with navs