sense.js is a library that abstracts away the math and gives developers and designers easy access to some common non-touch gesture interactions with simple JavaScript callbacks.

sense.js - A HTML5 interaction library for mobile browsers

Demo Website

email