Fixed scrolling within a single line
Took out debug statements