add removal of scrollback buffer