Make previous and next page clicks use the new functions.