Handle config in an object.
Set slideCount only once