Velocity resets to zero whenever you change a control or press Reset. Friction never pushes the block backward — net force is clamped at zero.