Configure the detail view