update toggleClass to call add/removeClass on each element
Merge pull request #326 from krazik/jqueryport

update toggleClass to call add/removeClass on each element