fix problem with dragging the map on tablets