up and down keys bound to history substring search