Calculate content height for IE