fix detail page height issues