Bug 1016219 - Call to specific panel function when visibility changes

https://bugzilla.mozilla.org/show_bug.cgi?id=1016219
just learned this ! I like this !!!!