fixing timing of cover animation