Now support for toggling motor direction