fixes to accordion code to get it working on blog