Tabs on Mobile: display tab text right under the tab

Hey guys,

Need your help with changing the default behavior of tabs on mobile.

Let’s say you have 10 tabs with some lengthy content hidden behind them. Right now, the way they it is displayed by default on mobile is by showing the tab’s content below all other tabs, which makes it not a good user experience, especially if you have many tabs.

How can I make the tab’s content display right under the expanded tab and all the other tabs below it?

Thank you!