Register show/hide events for naviframe widget.