It's actually moved from the handleSlide function (line549), and change the local var 'dir' to the 'this._slidingToward'