Can't really offer any answers but would suggest disconnecting one each of the Y and Z drivers from the Arduino and see if this resolves the forward/backward issue. The parallel wiring of the dir signal wire may be causing issues.