Change position of windows in 2 threads.