Extract slider items width processing

In the b-slider block the _setItemsWidth method was extracted.

This work depends on the SERP-23458 task.