Added support for HammerJS.