Refactor prev/next buttons to use same jsonIntercept() method as page links.