pagination implemented for product index pages