adjust topbar for medium screens