Bug #6822. Provided maxSize property for the sidebar and added a check in resizer.js to convert maxSize into pixels if provided in percentage.

Provide maxSize to be 45% of window width if element is side bar and maxSize is not specified

This is for #6822.
Why are you adding a blank line here, where there was none before?