re-looking at scrolling issue, it is not because of focus change, it's actual scroll code that I wrote for mobile devices. It's getting activated when it's in an iFrame whether mobile or not. I don't want it doing that in an iFrame regardless, so adding a URL parameter that should force desktop mode and prevent the scroll code from running.