When ```$slides.length === 3``` (i.e., when the slider contains only one slide plus the 2 extra generated ones), ```$active_slide.index('li')``` returns 5, which is obviously wrong. This makes sure it returns 1.