Put display="none" animations at end, otherwise confuses web site