add the back button will invoke the keydown function to do something