Expanding/collapsing multiple portals

Is there a possibility to expand/collapse multiple portals at once? ctrl + shift + up/down and ctrl + up/down won’t work.
I’m just able to expand one portal at a time, which is very time consuming if I have many portals in the same document.