adjust pagination location