Handle go to previous page differently from previous button.