Fix snapping on resize.
Breaking apart snapping code.
Merge branch 'fix_snapping_on_resize' of git://github.com/orangemug/ftscroller into orangemug-fix_snapping_on_resize
Fix indentation; fix lint errors; expand shortened variables; check active axes only