trim margin spacing for headings