horizontal anchor menu

Great hack @bsun089 . However, one quick question, if there are 6 buttons arranged horizontally and linked to the respective anchors, then how can they be shown horizontally in the mobile view?

For example, I’ve 6 button’s arranged horizontally:

Button 1 | Button 2 | Button 3 | Button 4 | Button 5 | Button 6

But when I check this page in mobile view, the Buttons 4, 5 and 6 can’t be placed properly in a horizontal layout due to limited width of the mobile screen. In this case what should I do? Usually, websites have a horizontal-scrolling enabled in mobile for such sub-menus /anchor menus.

Thanks!