Passing self.panels as a list to context