added command to retrn to previous buffer