added esc key binding