Don't show previous page button if the page is the first
Don't show next page button if the page is the last