Added customisable next and previous labels
Pass in a struct called labels containing prev and next values
to be used as the links in the pagination