Fixed issue with sliding by clicking on dots when infinite = false option is set