resized middle container