Made accordian and pagination for category view (view2)