touchpad keeps scrolling

If you have synaptics and your application just keeps scrolling even after you stopped then put the following in your xorg.conf and it should stop that:

Section "InputClass"
    Option "CoastingSpeed" "0"
EndSection

That should help.