refactor pages to single page app with settings drawer
move settings into sidebar and tidy views