layout fix for details page