added popover controller for the class page