Move branch selector into header