Adding touch handling for mobile devices