In reply to Whitters:
> I have played about a bit and wondered if it was because the QR skewer was tightened too much on one side. Does this sound at all likely?
No, very unlikely, a skewer passes through the hollow axle and the tension on each side will be exactly the same as the other, however if the skewer is not tight enough and you have disk brakes then the offset braking force (on just one side of the hub) could cause the axle to move. It is also possible there is a problem with the forks (I assume suspension forks) if one leg is not compressing at the same rate as the other that may cause a problem, but if it still happens when applying the brake whilst the bike is stationary or the wheel is off the ground then neither of these suggestions could be the cause.