update box sizes at small widths