Adding mobile detection based on touch events