Changed toggle() element equality check to use is().

The jQuery is() method is a little more resilient. Part of issue #95.
Related to pull request #75.