CustomUISlider bug fix

Stuttering bug fixed by making a new method which should only be called
once, just after initializing.