working for adding a pagination to products list