prevent on-off events from firing if state is not changed

check for a marker CSS class and if already present (or if already
missing) don't don anything
add example
Release 0.2.0