turning to avoid obstacles