I created a JS fiddle http://jsfiddle.net/cchana/ty5ZH/2/ of it working. You need to add a class or ID to identify the sections that you don't want to open and then run the following immediately after declaring your accordian.