fixed #2452:Optimize for mobile browser