a port of http://anantgarg.com/2009/05/21/jquery-fancy-gestures/ amazing work