I am using Bootstrap 3 accordion. After reading numerous posts on how to have independent behaviour on the contents, rather than keeping only one active by default, i use
Just add class="your-header-class" to the a header element:
class="your-header-class"
a header
...
and then add this:
$('.your-header-class').click(function(e) { e.preventDefault(); })