You could always switch to mobile mode. If you're on Windows and Chrome, for instance, press "F12", then "Ctrl-Shift-M". Of course, this generally makes the experience worse, but then I'm not entirely sure why you want to hide the sidebar in the first place.