add currentValue and to to the onStop callback

sometimes on iOS it shows random values if animation is on. To correct this we need the currentValue and the endvalue (to) to adjust the value