fixed detailPanel constructor and prevented name box from expanding too far down