Move drawScrollBar to corelib