sweep2unlock: change conditions

Don't assume unlock/lock is triggered if only one
condition is met. The new implementation includes
checking if 3 barriers are hit before triggering
the lock/unlock.
This assures only intentional triggering.
Also only allow one trigger as long as the finger
still touches the screen. Reset and allow another
trigger if the all fingers are lifted.