Basically, the reverse of abs. If I have:
if ($this.find(\'.pdxslide-activeSlide\').index() < slideNum - 1) { slideNum = -slideNum } console.log(slideNu
var i = 10; i = i / -1;
Result: -10
-10
var i = -10; i = i / -1;
Result: 10
10
If you divide by negative 1, it will always flip your number either way.