The solution below is intended to slide down the groupDiv displaying div1 and enough space for
you can unbind... but this should work too:
if (!$("#div2 .tab").is(':animated') && !$("#GroupDiv").is(':animated')) return;