Use CSS flexbox in fullscreen mode