made dark theme load without having light theme flicker in for a minute