Autoslide api and fragments

Resubmission of pull requests #758 and #759. Hope this works now.

Happy holidays and all the best for the new year!
Raj

Btw: I changed "isPlaying()" to "isSliding()" which probably fits better to the wording used in the readme.