change size of Bars property to current bar size instead of fixed