Handling multitouch input events