reinit slider on resize