add margin back into rows