fixed a bug caused by classList refactor -- expandos wouldn't close.