Added JS events to switch between the mobile menu and search functionality. Added DOM elements for the mobile menu.