responsively changing classes for row elements