Expandable card not hiding secondary bottom toolbar

i have two bottom toolbars in my page (tabs inside tabs). when i open the card only the outer toolbar get hidden. is there some solution to this?
secondary toolbar have this css style="bottom: 56px; position: absolute;"

i ended up using jQuery hide() and using Animate.css to make it look good.