When I take your code out of 'fiddle' and put it in an editor, save it and then call it up in a browser it does not work the way fiddle is showing it. All fields are expanded and they do not collapse. We just go down the page to the heading we clicked.
You are missing a </div> for the container, but fixing that didn't help.
Evolution - The non-random survival of random variants.