add min height query to detail sections