Rewrite hide-show reveal registrations properly

Wrapping the registration with anonymous functions breaks .off() functionality inside the destroy callback. Fixed and tested.
Merge pull request #471 from gregturn/master

Rewrite hide-show reveal registrations properly