tweaks to flick detection