added multi-touch detection/handling