break breadcrumb code out of detail.clj