change banner width logic