added support for touch drag and touch pinch