working principle of belt sway switch