Added support for setting the minimal and maximal sizes

Added support for setting the minimal and maximal sizes in MSplitPane
even if the resize is done with the one click expansion.