Add slide rotation to API

This way you can enable/disable automatic slide rotation externally.