added clickTolerance