more work on the accordion script