mainWindow resized