Longitudinal friction and intermediate Mach number collisionless transverse magnetosonic shocks