You will immediately see that the lists are not showing, so the script is working...kind of. It's supposed to be showing the lists at this size and you can not click to expand. Drag the browser window to simulate small screen and you will see the css change the appearance. This is where they are supposed to collapse and be clickable.
// Variable to detect window width.
var windowWidth = $(window).width();