restored terminal scrolling