window: Govern the notebook switch-page compatibility with boom2