Your code works and makes sense, you may improve by putting some delay in the apparition of the new content, for a nicer transition http://jsfiddle.net/WkuMg/2/
setTimeout(function(){
$this.next(".content").slideToggle();
}, 200);
You also can work with classes, so you do not have to sort your HTML this way and pack all headers in one part, all content on the other.