Help completing this small piece of code for a slide effect

Help completing this small piece of code for a slide effect

The following code allows a user to click an anchor tag and the next slide box appeares and so on.. but I need it so that when a user clicks the same link more than once the box shouldn move twice. I hope this makes sense. How do you do the stop event for that. Any suggestions? Thank you
$(function () {
var current = null;
$("#aOne").click(function () {
              newSlide($("#div1"));
             
});


$("#aTwo").click(function () {
              newSlide($("#div2"));
             
});
$("#aThree").click(function () {
              newSlide($("#div3"));
           
});