Adjust tab item style: Move close button to the right of the tab. Fix tab container which show scrollbar. Misc. clean up and format codes