add new method called goto() in carousel