Navigation and css transition optimizations