It does sound as if maybe you didn't get the wheel lined up when you put it back on.
It might be worth getting someone to hold the bike vertically upright resting on it's wheels then slacken off the rear axle bolts and re tighten. If that doesn't work try doing the same thing, but with the bolts slack, apply the rear brake lightly but firmly and keep applied whilst tightening the bolts.
It needs two to do this but doesn't take long and is worth a try.
Dave.
It might be worth getting someone to hold the bike vertically upright resting on it's wheels then slacken off the rear axle bolts and re tighten. If that doesn't work try doing the same thing, but with the bolts slack, apply the rear brake lightly but firmly and keep applied whilst tightening the bolts.
It needs two to do this but doesn't take long and is worth a try.
Dave.