added conditionals for unanswered and answered styles to apply to multiple views