layout for node collapse/expand/remove