Open/Close sidebar

The goal of this pull request is to manage the clicks on the sidebar controls (bottom left buttons) to open/close the sidebar.
The close button styling can be addressed later.
Please review.
Very very minor: I'd add a blank line between each `scope.$watch` block for clarity.