add tooltip and tap events