Rewrite hide-show reveal registrations properly

Wrapping the registration with anonymous functions breaks .off() functionality inside the destroy callback. Fixed and tested.