Layout fixes for the manual.

* Resize the logo to fix rendering in Firefox.
* Wrap the book title in a separate element for styling.
* Make the version switcher less confusing.
* Default to hide the TOC on smaller screens.