get collapse working on prodcat loop