Hide side panel when clicked on mobile

Fixes #229