Add tap and double tap gesture functionality