working towards a single page layout switch
added ability to switch between single page and navagated versions