public int determineInsertIndex(Point p){
		//first
		if(sentencePanels.size() == 0)
			return 0;
		
		if(p.y <= sentencePanels.get(0).getY())
			return 0;
		
		//middle
		for(int i = 0; i < sentencePanels.size(); i++){
			ComponentPanel child = sentencePanels.get(i);
			if(p.y > child.getY() && p.y < child.getBottomY()) //click isn't between any panels and it's "inside"  a panel
				return i;
			if( i+1 < sentencePanels.size() && p.y >= child.getBottomY() && p.y <= sentencePanels.get(i+1).getY())
				return i+1;
		}
				
		return sentencePanels.size(); //last
	}