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.