add accordion animation before slideDown

adding the active class after animation is complete makes it feel a bit laggy.