Implementation of HammerJS/Gestures and AngularStrap/AngularMotion