// controls more panel

$(document).ready(function()
{
	//handle html
	var handle = '<div id="handle"><a href="#">more</a></div>';
	
	//add handle dynamically in case no js is present
	$(handle).insertAfter('#shelf');
	
	//hide shelf
	$('#shelf').hide();
	
	//toggle shelf display
	$("#handle a").click(function()
	{
		$("#shelf").slideToggle("slow");
		$(this).toggleClass("active");
	});
});