 put all tabs. Move all of them into the list instead.
		$(".fileTab").each(function(){
			$("#tabList").append($(this));
			$("#tabList").append("<br>");
		});
		inList = true;
		$("#showList").show();
		$("#tabList").show();
	}else if (window.innerWidth > totalWidthOfFileTabs && inList){
		$(".fileTab").each(function(){
			$("#tabs").append($(this));
		});
		$("#tabList").html("");
		inList = false;
		$("#showList").hide();
		$("#tabList").hide();
	}
	currentTabWidth = totalWidthOfFileTabs;
}

function bi