set up the sidebar and the js to make it responsive