timer change and distance change for finger detection