implemented a way to keep pressing "o" to continue moving between windows