A mobile-friendly drilldown menu for JavaScript