Sorry for the mess of a diff on that first commit, but I went through and tightened up jslint rules and cleaned things up a bit (you may want to ignore whitespace when reviewing). The rest of the commits are more manageable and bring your sandbox and our project version much closer in line. Let me know if you have any questions or alternative suggestions for what I've done.
code cleanup, mostly to appease JSLint
fix _getStage when pageCount is small
import earlier changes (needs review)
cancel flick animation loop on gesture start
Merge remote-tracking branch 'upstream/master'
New rtl example
Added RTL support
optimize after render