fit event title into box