Ux documentation

fix the flash of unrendered document (FOUD) issue in the layout page where the css loaded after the rest of the page.