Is there a reason to keep this state as a class on the document body instead of here in the view?