the front-end display of pagination