adjust num of pagination to 5