style changes and hid unstyled content upon load