Added key functions for moving between windows