Replaced 'height' jquery call with 'outerHeight(true)' so the margin is included in the calculation.
Added settings related CSS styles.