panels open and close on click, correct/incorrect logic refactored to content model and case insensitive