Pager

Pager:
-genNextRef changes, allowed for negatives