updated the navigation in the sorter bar and the pagination