Added map to change joint direction of rotation