Getting terms accordion working