added headers and simple formatting to details page