Switch for orientation