fix scrollbar position-calculation and calculation of the scrollBarHandleLength