make control-p go to previous message