Scroll and stop text on LCD

We need to see a schematic of your setup. Because of the analogRead of the buttons I was assuming a LCD shield with buttons in a resistor chain (analog buttons). That does not seem the case.