Add optimizations for mobile devices