optimizations for desktop layout