Rearrange logic for rendering left sidebar into LeftSidebar/OpenMenu/CurrentDoc views.
Revert "Rearrange logic for rendering left sidebar into LeftSidebar/OpenMenu/CurrentDoc views."

This reverts commit 18e6ba679136eecf7cfbb0c3ad75ad613ef01f47.