start of detail view with graph