add top bottom margins to layout