better pagination link helper