title: How to swipe left and right in python kivy app?
body: <p>I want to add a swipe event in my kivy app and in my knowledge kivy does not have an event such as <code>on_touch_left</code> or <code>on_touch_right</code> available but it have another <code>on_touch_move</code> function which I think can be used for this purpose</p>
  
  <pre><code>class TestWidget(BoxLayout):
      def on_touch_move(self, touch):
          print touch.x
  </code></pre>
  
  <p>What I noticed in the above code is that if we swipe towards right <code>touch.x</code> value increases and if we swipe right <code>touch.x</code> value decreases. We just have to take the difference between the first and last <code>touch.x</code> value to predict left/right swipe.</p>
  
  <p>The problem is how to store and retrive <code>touch.x</code> values from the initial to final.</p>