fixbug: can not goto the prev page, when on the last page