The ability to toggle the slide from code

It is really a good idea to let people toggle the functionality from code.