added handling for multitouch