calculate outerWidth for item