added cycle styles to avoid FOUC