Limit events size and add scrollbars, close #2087