Rearrange logic for rendering left sidebar into LeftSidebar/OpenMenu/CurrentDoc views.
Add keys to chapter listings.