finished switching between windows and interaction between windows