Adds support for mobile and desktop menu.