changed to hammerjs