Split out layout stuff in preparation for different navigations on different pages.