move tab to individual fragment classes