optimizations for ipad