changed first clicked to nearest the top of the alignment.