an Android Style GestureLock that can customize length