fix the layout of the contacts view page