fix vt100 scrolling problems