add  multi-touches support

I added support for multi touches, so that it'll work with many other devices.