Hide side panel when printing

At the moment when printing images the panel leaves parts visible, either an angled line over a corner if hidden or several boxes if pinned.  This change hides it.