Adjust pagination