Here is the jQuery code to watch the navbar in order to open and close it on click:
$(\'#sidenav-toggle\').on(\'click\', function() { var $sidenav, $this;