Move and resize widnows when they are swapped. Not doing so causes ncurses to redraw improperly