Added ability to show/hide sidebar