merge from mapjs - dont configure Hammer twice