adding special classes for view modes