SplitView: Added check for 0 values.
SplitPanel: Fix for affectedPanel logic on resizeMethod.
SplitView: Moved splitPanel logic to SplitPanel class since it's panel related logic.