remove next and prev page