adding optional stopOn attribute for spinners to be dictated when to stop