Control navbar position with JavaScript

This patch means that the location of the navbar (the header and footer)
is now determined by JavaScript, not CSS. This allows us to scroll the
navbar horizontally, and implement a snazzy fade and parallax effect
when scrolling horizontally.