Toggle: add ability to toggle self

Elements can now toggle their own state if a selector isn't passed.
Merge pull request #3447 from patheard/toggle-self

Toggle: add ability to toggle self