add up and down gesture recognition