calculating the iframe offset
remove unused container element