Make the topbar work on mobile