mostly detail page layout fixes