fixes to the detail activity UI