touch detection
direction calculated