Try and create better handling of motor directions changes