slide index logic working with timer, and hover actions