Adding classes for mobile grid components