if set bannerWidth==null then display banner filled parent element