improved lightbox layers

Is there something specific that requires to set/unset two event handlers here? It's quite confusing to read although I'm sure there's a reason.

You can also do $(foo).one as an alternative to on/off