Set up listener when screen is smaller than breakpoint. This makes the navigation menus accessible on phone.