 int touchX, touchY;
 int pressedX, pressedY, releasedX, releasedY;
 int clearId = 0;
+int visibleHeight = height * 0.85;
 
 ARGB visibleColor(ARGB color)
 {

    if (tag[1] == 0 && tag[0] < 48+(colorCount+1) && tag[0] >= 48) {
      //color
      if (tag[0] == 48+(colorCount)) {
        //clear all
        clearGrid();
      } else {
        selectedColor = ARGB(selectableColors[tag[0]-48]);
        screen.clearId(clearId);
        clearId = screen.fillRectangle(cwidth * (totalcolumns-1), 0, cwidth * totalcolumns, height, visibleColor(selectedColor), String("8"));
      }
    } else if (tag[0] != 0 && tag[2] == 0) {
      //grid
      setColor(x,y,selectedColor);
    }
  }
}

  }
  
  strip.ShiftAllPixels();
  drawClear();
}

void clearGrid(bool firstTime = false) 
