minor refactoring as I think about adding a diff-page heartbeat to auto-refresh the next/last buttons
diff-page now has heartbeat which auto-refreshes the next/last buttons