Add animations to tabs and accordions