added shown and hidden event
Merge pull request #140 from teambition/master

added shown and hidden event