improve gridNcols mixin (still not perfect)