cleaned up the top of the detail page