Slider width calculate on DOM change