Also, `window.top` is probably better expressed as `parent.top`. Just `top` would be acceptable in many scenarios, but let's not push our luck.