CSS adjustments and waits until document is ready to calculate dimensions for the iframe