swapped append and attr method calls, removed aria-expanded attr on panel