Making nested accordion work