setting up the details view to be used in the mobile ios app