config object added; allowEndlessSlide added