Demos: Pre-render collapsibles in demos left-side menu

Fixes gh-7225