Modified scrolling to be based on screen lines