            const pressed = gamepad.buttons[1].pressed;
                        const lastPressed = lastPresseds[i];
                        if (pressed && !lastPressed) {
                          const tab = tabs[menuMesh.listMesh.scrollIndex + j];
                          _closeTab(tab);

                          if (focusedTab === tab) {
                            focusedTab = rig.menuMesh.urlMesh;
                          }

                          rig.menuMesh.urlMesh.updateText();
             