up and down keys allow navigation through history