resizing middle win