As you can see there may well be a number of factors causing your pebble/stone to ridge. Common causes are :
1. Too much top dressing, a typical dressing should be 25 - 35mm deep over a blinded hardcore base. If the latter is not done correctly, mixing of hardcore and top dressing usually takes place and is very difficult to correct. It is not uncommon to see 100 mm - 150 mm topdressing layer, far too much and constant ridging is the result. Only remedy is to remove excess top dressing.
2. Material - is it a stone or is it a pebble? Given their general rounded shape, Pebbles are not suitable for driveways/walkway areas because they do not lock in or bind. Wrong use of stone is a common cause of ridging. A chipped stone ie with straight/sharp edges are much more suitable because they compact/bind well and once embedded and compacted they remain in situ. Of course an ocassional rake over of top dressing is required but only now and then.
3. Size Matters - choice ranges from 5mm - 50mm, 14-18mm is perhaps most popular size, but 20mm also becoming increasingly popular. Very small can 'disappear' and require topping up, especially if the hardcore/sub-base is any way soft or soil is nearby. 25mm+ is fine for driving but difficult to walk on with any degree of comfort.
4. Colour - subjective perhaps, but colour should compliment house and yet be practical. Not very practical to have light colour stone surrounded by lots of deciduous plant/tree stock. Fallen leaf must be factored in to colour selection.
5. Inclines - it is possible to design and structure an area to minimise/prevent top dressing drifting on inclines. There are also a number of proprietary meshes available to prevent stone movement, however these can be very expensive to install and are no guarantee to provide an absolute drift free surface.