changed y axis threshold to differentiate top and botton segment swipes