Implemented tap threshold for tableview while scrolling

This fix is to avoid accidental taps while trying to stop the scrolling
of a tableview.