added navbar events