Checking page constraints for prev/next methods