Styling tabs refactor