@joann.hen,
I’m not sure why you want to hide the “Category 1” panel (cat 1 dp) when you open “Category 2” (and then why would you not hide “Category 2” when opening “Category 1”?) … What you have on Page 2 works more like a traditional accordion menu.
Nevertheless, the interaction code you have on Home page should hide the cat 1 dp and pull cat 2 and cat 2 links dp’s, which it does not do the first time–but curiously does pull these panels the second time (and every time after that). So it looks like some kind of weird bug. However, it turns out that your cat 2 and cat 2 links dp’s overlap cat 1 by 1 px, so they are not actually and fully below cat 1. See Page 2 of this attached update where I have moved cat 1, cat 2, cat 2 links down 1px each. None of the interaction code was changed. Now when you click on “Category 2” the cat1 dp hides and pulls widgets the way you intend.
accordion - push pull.rp (292.4 KB)
If you don’t want the “double border” between your category titles you can modify the border settings for the rectangle widgets, turning off the top border.
In order to control your list behavior and make this easier to scale and reuse, you would do well to implement this in a repeater list. Ha! I see that @huban has just posted the same thing as I’m typing this reply --great minds think alike …and at the same time.