goToPane helper