seperate action to open/close all subnodes