limit to 128 messages of scrollback
prevent scrollbar from breaking