adding margin to grid