Cant seem to find how to make this accordion slide up as well as down. It only wants to slide down. Any ideas?

http://dl.dropbox.com/u/14080718/Fin...pleplugin.html







$(document).ready(function()
{
// hides all DIVs with the CLASS container
// and displays the one with the ID 'home' only
$(".thumb").css("display","none");
$("#button1").css("display","block");

// makes the navigation work after all containers have bee hidden
showViaLink($("ul#subnav li a"));

// listens for any navigation keypress activity
$(document).click(function(e)
{
switch(e.which)
{

case 97: toggle("#thumb1");
break;


case 115: toggle("#thumb2");
break;


case 100: toggle("#thumb3");
break;


case 102: toggle("#thumb4");
break;


case 103: toggle("#thumb5");
}
});
});

// shows a given element and hides all others
function toggle(element_id)
{
$(".thumb").css("display","none");
$(element_id).slideDown("slow");
}

// shows proper DIV depending on link 'href'
function showViaLink(array)
{
array.each(function(i)
{
$(this).click(function()
{
var target = $(this).attr("href");
$(".thumb").css("display","none");
$(target).slideDown("slow");
});
});
}