Fix toggled event name.
elem.trigger('appear.tamia').trigger('disappear.tamia') shouldn’t show element.
Fix typo in variable name.