public void scrollTo(int index) {
        if (loadingDone) {
            setAvatarIndex(index);
            if (index < 0)
                setAvatarIndex(0);
            else if (index >= avatars.size())
                setAvatarIndex(avatars.size() - 1);
            damaged = true;
            repaint();
        }
        else
        	if(Debug.coverflow) System.out.println("scrollTo() - " +
        			"loading not done");
    }