Updated Switcher.goto() to have an index parameter