Lock your screen, then get a piece of cloth and press down on your trackball, while at the same time rolling it around, for a few seconds (30) especially in the direction that its not scrolling in. You can check my two articles on "trackball".
My Bold 9000 Exposed! Kirrin Jones and
My Curve 8320 Exposed! Kirrin Jones