adjusted the view panel