@Override
    public int getHeight(int index, GuiScrollList parent) {
	if(heightCache.containsKey(parent) && heightCache.get(parent).containsKey(index))
	    return heightCache.get(parent).get(index);
	int height = getHeight(list.get(index), parent);
	if(!heightCache.containsKey(parent))
	    heightCache.put(parent, new HashMap<Integer,Integer>());
	heightCache.get(parent).put(index, height);
	return height;
    }