fixing issue #22 concerning undesired change of autoSlide