Bug Fix #6822

Provide maxSize to be 45% of window width if element is side bar and maxSize is not specified
Better to do this in sidebarview.js
You will also need to update the size when the window size changes plus if it's smaller than the max size after resisting you will need to resize the sidebar to the new max size. Resizer doesn't do this for you.