sets up details view controller