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.
Is there any reason you are adding a newline at the end of the file?