slideUp and Down callback time issue

slideUp and Down callback time issue

Hi!

I have some div's as blocks hidden wich should show on a button click, and if there is some other block visible, I have to slide it Up and then slideDown the clicked one...like this

                  $(".profiles").click(function () {
                        $("#profiles,#contact,#stream").slideUp(700, function() {
                      $("#profiles").slideDown(700);
                     })
                      });
                  


The problem is that I'm doing this with the callback function, but it start sliding down when the other block is not completly up...

I wish someone can understand and help me with this...

Thanks