refacto dots slider