fixes #42: add js from @hnrch02 to toggle the sidebar closed when clicking on white space