It should be mounted with the body attached to the frame. The reason being that you want the mass that moves (the wheel, swinging arm, etc) to be as light as possible so that it is more easily controlled as it does quick changes in direction as it goes over bumps in the ground. A lighter weight is much easier to accelerate/de-accelerate than a heavier one and hence the tyre stays in better contact with the surface you are riding over.