 /* General defines */
 #define LCD_RIGHT_BORDER    32
 #define HOLD_ACTIVATE_DELAY 1000
+
+/* Swipe settings and calibration */
+#define SWIPE_FADE          0.05
+#define SWIPE_THRESHOLD     2.0
 
 /* Sketches list settings */
 #define SKETCHES_CNT_X      4

    }
  } while ((icon_idx < MENU_IDX_NONE) && (sketch_index < sketches_buff_cnt));

  /* Handle button presses here */
  if (touchedIndex != MENU_IDX_NONE) {
    /* Open edit menu when holding down on a sketch icon for some time */
    if (touchedIndex >= MENU_IDX_SKET && ((millis() - pressed_time_start) > HOLD_ACTIVATE_DELAY)) {
      editSketch(sketch_icon_text[touchedIndex], false);

        case MENU_IDX_UP:
          /* Move sketch list one page up, ignore if impossible */
          if (sketch_offset) {
            sketch_offset -= SKETCHES_PGINCR;
            redrawIcons = true;
          }
          break;
