Added motor movement backwards and forwards