Clone of js $P (dollar p) gesture recognition library.