v3.1.2 option to rename 'toggle' event, fixes #34