add grid class