a better way of estimating where to put the scrollbar value when
zooming.