Create sizeToParent function
-made to resize iframe on window resize