Auto resize iframe element when it is opened