Fix python 3 compatibility.

Modified use of range and reverse in DraggableSlide.