Many applications build nowadays have a horizontal scroll. Users are used to horizontal scroll, no need to worry about it.
In case your targeted audience not that smart like adults. Make use of screen width value and set tabs width accordingly so that one tab will appear of its half-width.
here is the code done using viewport width(VW) unit.
https://jsbin.com/soxudaticu/edit?html,css,output