Margin option
function to update styles on window resize