When you resize the
window, the Schedule appointments will re-render to fit the available page
width. So, on each appointment re-render, multiple accordions are re-rendered
inside the event template with Listbox and it seems like disappearing. You can
render the accordion inside the event template without using the list box, as
shown in the below code snippet.