avoid duplicate events being fired

the touchmove function is not unbound when the touch is less than 50px away, this causes two events to be fired if a swipe is done after that.