Added the goToCard method to click through the cards