Javascript Removing Large Gap Below Collapsible When Expanded Stack

Javascript Removing Large Gap Below Collapsible When Expanded Stack