no animation the first time: fix css display property timing