adds switch-window binding