Make PageItems work with NextPage