make collapse 'parent > .in' check more flexible - not sure if this will break any other functionality; use with care, test thoroughly...