add ellipsis to overflowing menu items