resizing MainWin