Replaced "createButtons" options with "toggleMethod" to allow for buttons or dots.