Bugfix: fix for sidebar userlock

critical stuff the sidebar:

- moving leftbar to the left does not resize editor window correctly
- closing a modal popup moves leftbar out of scope