Fixed the "flashing" effect that occurred because the page displayed with the default styling before it was swapped by the cookie.