Sidebar Bug #6822

This quick fix just prevents the sidebar from surpassing the window view and then disallowing any resizing after that.

The toolbar and editor window don't react that well when being minimised too much. That seems to be a separate issue.