put the pagination inside the entry list