better way to calc distance to move
janky scrolling