added ipad support for doubletap