change switch window style