added support for double-tap gestures
fixed ArrayIndexOutOfBoundsException for cases where there are less items than fit in the list