fixed bug where expand to show children was being shown at the wrong time