Toggles the switch between the open and closed positions, moving to the closest position if the servo is not in one of the two open or closed positions.
this