add time hold to rotate_by_gyro, switch encoder pins