added tap events for mobile and added T shaped pipes