toggle sidebar closed when clicking on white space