Broke rewriting one pagination link out into a separate method, so it can be used outside this class.