Scroll and stop text on LCD

Every time you move the cursor you are printing an X on the new location, but you never print anything over the last location before you print to the new.