calculate outerHeight on offsets to include margin