add toggleOffOnLeave; closes #7