add view to rootpanel