change display in item listing page and adds pagination