Refactor. Change orology from panel to view