Why is the test <= SCROLL_RIGHT + 1? Can you add a comment to explain that?