   pos = 0;
   MomentumH = MomentumV = 0;
 }
-
-void gestureActivatedMode() {
-  for(int i=0;i<NUM_LEDS;i++){
-    if(i%3==0){
-      rightLense[i] = CRGB(0,0,255);  
-      leftLense[i] = CRGB(0,0,255);
-    } else {
-      rightLense[i] = CRGB(0,0,0);  
-      leftLense[i] = CRGB(0,0,0);
-    }
-  }
-  FastLED.show();
-}
-
 
 // utility function for feedback on mode changes.
 void spin(CRGB color, int count, int time)

{
  // Read the magnetometer and determine the compass heading:
  lsm.getEvent(&accel, &mag, &gyro, &temp);

  CRGB color = selectColor(fabs(round(mag.magnetic.z * 100)));

  // Check for mode change commands
  CheckForGestures(accel);

  // apply a little frictional damping to keep things in control and prevent perpetual motion
  MomentumH *= friction;
  MomentumV *= friction;

    }
  }
  FastLED.show();

}

int wrapAround(int value)
