toolbar functioning on mobile