Updating hammer js versions and removing deprecated functions.