set height to auto for details panel