Application of pulses of alternating polarity prior to the drive pulse in electrophoretic displays