def stop(self, val, t=None):
        self.is_manual = False
        self.displacement += abs(val - self.history[-1][1])
        if self.displacement <= self.drag_threshold:
            self.velocity = 0
            return
        return super(ScrollEffect, self).stop(val, t)
dataset/ETHPy150Open kivy/kivy/kivy/effects/scroll.py/ScrollEffect.stop/original