add  multi-touches support

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