init touch handler more robust