raise window when moving or resizing