Add getScrollBarSize method to the core