escape key to go back to index