add tab content and set tab style