To swerve, you should:

To swerve, apply a small amount of pressure to the handgrip located on the side of your intended direction of escape. To swerve to the left, press the left handgrip, then press the right to recover. To swerve to the right, press the right handgrip, then the left.
DMV Writen Test