fixing the layout of the contact display