Updating scroller math.