Addressing Issue #2 - Handling overflow for tabs expanding outside horizontal region