I had a similar problem with my bike and the rear gears (Freewheel). My chain had a bad link and it would sometimes jump and fall off! Also double check the max travel settings as that has been an ocassional issues as well for me.
Quick note: this question is better off in the Mechanics post.