added minDistance for triggering drag