Added better tab handling

You can scroll through tabs if there are too many with some buttons.
Minimum/maximum size of tabs.
Tabs don't flex anymore.