title: How would I smoothly move an element using Hammer.js and JQuery?
body: <p>I'm currently developing a web-app, that has to run on both computer systems and tablets. Possibly even smartphones.
  Now, the menus are on one page, horizontally next to each other. The idea is that you can switch menu by swiping the content, just like you can do on tablets and smartphones. Plus, there are buttons for computer users which will be used to switch menus.</p>
  
  <p>Menu content will be loaded using JQuery's AJAX functions, and menu moving through JQuery's animate function.</p>
  
  <p>Now I was wondering how I could make this animation properly. When swiping I would need to take speed, direction, and distance insto account. When clicking buttons, a static speed should be applied.</p>
  
  <p>Anyone any ideas?</p>