use max-height instead of height for scrollable sections