updated key bindings for handling windows