jQuery: Stop a function and call it again
<p>I am currently developing an small webapp for an iPad.
now I'm using <a href="http://touchslider.com" rel="nofollow">touchslider</a>. For a small "Zoom Function" I'm using a toggle function, to show and hide some divs. now i would like to stop the touchslider, so that the user can't swipe tru the slides. 
but just until the user toggled the #zoom1 -button, at this point the slider should be available again.
i tried with unbind, stop and start the slider but it seems i am on the wrong way...</p>

<pre><code>$(".touchslider15").touchSlider({
container: this,
duration: 350, 
delay: 3000, 
margin: 0,
mouseTouch: true,
autoplay: false, 
viewport: ".touchslider-viewport15"}); 

$("#zoom1").toggle(function(){
$('#header').hide();
$(".touchslider15").unbind('touchSlider', touchSlider);
},function(){ 
    $('#header').show();
});
</code></pre>
