changes the state of the two-state control
$$('toggle1').toggle();
If the toggle button was pressed - it becomes unpressed and vice versa.