fix strict lint issues in touch event handlers