switch-window and remove scroll bars