Following Vinny's lead I would check ... each step in order ...
- the direction input on the driver is connected to the correct output pin on the Arduino [operator error]
- disconnect the direction wire between the Arduino and the driver and then ...
- put an indicator on the Arduino direction output pin (possibly a LED) and make sure it is low when FWD is in the display and high when REV is in the display [something may be wrong in the code in that what is on the display does not agree with what is on the pin] [Note that I may have the actual state ... low or high ... wrong but the salient point is that what ever it is in FWD is NOT what it is in REV]
- tie the direction input on the driver high then enter a 'move' command on the keypad to generate stepping pulses and see what direction the table moves; then tie the direction input low, again the move command and ensure the table goes in the other direction [possibly a wiring issue ... see step (a), a defective driver or a stepper to driver wiring issue]