Workaround for mobile browsers freezing on touch