Fixed syntax errors, tweaked swipe gesture sensitivity