This gets the pagination plugin working