adjusted css to try and get rid of init flicker