Send custom events when the structureboard is shown and hidden.

This allows websites to adapt by changing page styles for example, so that
all placeholders are visible. This is useful for rotators and other features
that hide parts of the page or place them offscreen.
do we want the event to be on $(window) or $(document)? I think document fits better?