limit display of event name to prevent overflow