use slider's change event instead of slide event.