Link slider to number of circles