Implemented dynamic iFrame resizing using Kasper's code