Vialaj/toggle behaviors

- methods added to set the state of the toggle view
- check the current state before it triggers the change of state event