Adding swap window binding