Add events on show and on hide

example:

$.smartbanner({
  onShow: function() {
    console.log("banner is displayed");
  },
  onHide: function() {
    console.log("banner is closed");
  }
})