moved top right panel to a view model