(#18) visibility: add a handler to work with visibility events (w.i.p.)