Agree with what 34C said {added whilst I was typing} and perhaps might add...
Some wiggle is perfectly normal and to be expected as the drive is quartered {max pull/push one side then the opposite side, as the first side becomes mechanically disadvantaged} and similar to the muscular drive of female hips, much revered by some. Apparently the motion may be tamed a little by ensuring there are restrictions to the sideways swing, which is provided by the flanges on the wheels, apparently absent on female hips. The standard solution is to check the distance between the wheel flanges {back to back} and adjust them to the recommended distances. There are several tools to measure this distance, accurately. The wheels will slide on their axle - with care - in or out to adjust.
{Note - there are also lots of expensive tools to space the wheels closer or further apart. Personally, I have seldom adjusted the back to backs, but there is lots of advice from people far more skilled than me, suggesting that gentle application of a toffee hammer and pointed punches are just as effective.}
Julian