add margin to box