nav with hardware accelerated css