only show 1 settings per panel open

only show 1 settings per panel open
hides parent when child is open
shows parent when children close