remove old lines
remove spaces
automatic scroll