fixed handleThumbPanGesture:

This commit fixes two problems during tracking:
- The thumb view would get out of sync when going back and forth
- Moving the finger out of bounds and back again would start moving the thumb view before the finger re-entered the view (which is different from UISwitch)