on key down caught

when escape is pressed everything is cleared