improve the UI for detail page