modified main tab style
mergin code