Two lookup tables, for forward and reverse movement