Challenge for the kids! Mouse wheel not stopping!

ive been trying to modify this text drag script to enable it to use the mouse wheel. ive managed to make it scroll with the mouse, but i cant seem to make it limit itself to the boundaries of the mask, like the dragger behaves. it just keeps scrolling upwards or downwards to infinity. i was thinking if there was a way to make it behave like the dragger. here is the script if u want to take a look. at the bottom i added the mousewheel listener and attached it to the dragger, and it works perfectly, but as i said, it doesnt stop like when you click it and drag it.
thank u.

 

//code by Billy T
//set a variable
targY=0;
//set the x position of the dragger
dragger._x=theMask._width;
//set the drag action of the dragger
//drag is restricted to the height of the mask
dragger.onPress=function(){
 startDrag(this,false,this._x,0,this._x,theMask._height-this._height);
 
}
//stop the drag
dragger.onRelease=dragger.onReleaseOutside=function(){
 stopDrag();
}
//set the mask for the text
theText.setMask(theMask);
//the scrolling animation
theText.onEnterFrame=function(){
/*set a variable 
 this variable basically stores info regarding what fraction of the total text 
 is being displayed through the mask and ensures that dragging the dragger
 from top to bottom will reveal all the text.
 this allows you to change the amount of text and the scroller will update itself
 */
 scrollAmount=(this._height-(theMask._height/1.4))/(theMask._height-dragger._height);
 //set a new target y position
 targY=-dragger._y*scrollAmount;
 //set the y of the text to 1/5 of the distance between its current y and the target y
 
 //change the 5 to a lower number for faster scrolling or a higher number for slower scrolling
 this._y-=(this._y-targY)/4;
}
 

var mouseListener:Object = new Object ();
mouseListener.onMouseWheel = function (delta)
{
 
 dragger._y += -delta*5;
  
};
Mouse.addListener (mouseListener);