Corrected the side bar size calculation.
Implemented a test case.
Modified repaint way on Windows.
Modified the splitter design.
Added an event handler.