Fixes $.expandable creating infinitely many elements whenever it was triggered.