set widow size after minimize