You needs to adjust your limit screws. There should be two screws on the back of the derrailler. one has an h next to it one has an L. the control the outer edge of the range. Turn the one marked L clockwise until it stops jumping into your spokes. a small adjustment works wonders.
there is more info
here on the subject.