Foraging strategy switch in detour behavior of the land snail Anguispira alternata (Say)