Removed dependency on hammerjs