I'm having a little problem with the slideToggle code.

This is what I have (JQuery)

```
$(document).ready(function(){

    $("#ava-esimene").click(function() {
            $(this).toggleClass("active");
            $("#ava-teine").removeClass("active"); 
            $("#ava-kolmas").removeClass("active");
            $("#teine-button").slideUp('slow', function() {
            $("#kolmas-button").slideUp('slow', function() {  
              $("#esimene-button").slideToggle(400);
            });
    });

    $("#ava-teine").click(function() {
            $(this).toggleClass("active");
            $("#ava-esimene").removeClass("active");
            $("#ava-kolmas").removeClass("active");
            $("#esimene-button").slideUp('slow', function() {
            $("#kolmaa-button").slideUp('slow', function() {
                $("#teine-button").slideToggle(400);
           });
    });

    $("ava-kolmas").click(function() {
            $(this).toggleClass("active");
            $("#ava-esimene").removeClass("active");
            $("#ava-teine").removeClass("active");
            $("#esimene-button").slideUp('slow', function() {
            $("#teine-button").slideUp('slow', function() {
                $("#teine-button").slideToggle(400);
                });
    });

});

```

Can anyone make it work please?