up and down to scroll through history