optimizations for mobile browsers