only use fastClick on mobile
move mobile and popup logic to utils