Resize left and right margins when sizing content
Call sizeContent when changing layout properties