How to control DC motor forward and reverse with one potentiometer

Seems like a rotary encoder 'pot' would make more sense. Read the direction and rate of turning and adjust the motor voltage in a manner that correlates to the encoder signal.