support no-stacking-on-mobiles class on the grid element