move css to the top to stop flash