Properly implement showBanner and hideBanner