add conditionals to animation section index