Initial implementation of toggle sidebar.
Fixing for mobile display.
Expanding main area.
Using resource template for main layout (so it's the same as everything else).