adding margin to gridbox