wp_nav_menu('slide-in-menu');
This will output menu items in a ul/li structure, nested as required. It’s up to your JS and CSS to cause this output to appear and behave as desired.
You don’t mention how your JS file gets loaded. It should be enqueued with wp_enqueue_script(), called within a callback hooked to “wp_enqueue_scripts” action.
]]>