initial scrollback implementation