Removed comment and unused code
Closing offcanvas on click