made distance configureable for taps
added an end event for long presses