Adding bind up and down for history search