int getAvailableScrollBarHeight() {
        return materialScrollBar.getHeight() - materialScrollBar.handleThumb.getHeight();
    }
Returns the available scroll bar height:
AvailableScrollBarHeight = Total height of the visible view - thumb height
lib/src/main/java/com/turingtechnologies/materialscrollbar/ScrollingUtilities.java