changed classes to have a single one for each kind of tabPreview