update the Pager Class and fix the pagination in Nutripage