It almost sounds like the chain is riding between two sprockets! You cannot see this exactly this from the seat! Get on your bike shift into the gears that are giving you the trouble. When it starts to happen, get off your bike and take a close look at the chain and where it is laying. I think that you will see your chain laying on top of two sprockets. If so, check your derailleur for adjustment. Good luck!