Rather than recalculating the value of the ```scrollbarHeight```, we should calculate it once, outside of this function, and hold it as a constant ```SCROLLBAR_HEIGHT```.