Made a topbar using a main-view