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.