Looks fine to me.
I did this in some early videos I think. Not sure which ones. If you goto xpagescheatsheet.com you'll notice that I use a dojo Accordion container myself. You can download the database from the home page of xpagescheatsheet.com and pick it apart as necessary.
But you're code does look right to me. Might be worth checking a different browser. I always start with Chrome myself.
Good Luck
Dave