Added support for maximumSize setting.

Hey,

I noticed that the maximumSize settings for the split view were being ignored when dragging the divider around. I've added support for that by modifying the constrainMaxCoordinate function to either take the full width or the maximum width that has been set.