more work on getting click detection/orientation detection working. Freezes happening