Improoved scrolling in terminal window