You have to use a reversing contactor. Its not
THAT advanced. You need a on/off/on rocker and the contactor. I used an EZGO PDS F/R rocker switch switch from MMT's.
Heres a controller version, you'll have to figure out the resistor cart. Its all in the F/R so its not much different