Fixed main nav

Set the hide/show mechanism to work correctly. Started to implement the
mobile view w/ control buttons.