Some changes to the UI

- The previous UI changes fixed the top and the bottom bar to the
viewport

- It was great for the UI with the debug disabled, but it obstructed the
debug info with it on

- now, turning debug off fixes the top bar and the bottom bar, turning
it on returns it to the top and bottom of the page, as it was in earlier
versions