Switched to using an iframe/window name instead of matching location.href to iframe src. This will allow navigation to new pages within a responsive frame to continue to resize as long as new pages also call allow embedding