Extract slider items width processing
In the b-slider block the _setItemsWidth method was extracted.