Why does jQuery slideToggle revert back to initial hidden state after running?
Try this code below.

$('#content').hide();
$('.sf-depth-1 a' || '.sf-depth-2 a' ).click(function() {
  $('#content').toggle('slow', function() {
    // Animation complete.
  });
});