You can slideUp()
all .typeToggles
before you slideToggle()
the specific one.
$(".topToggle").click(function () {
$(".typeToggle").slideUp();
$(this).parent().children('.typeToggle').slideToggle();
});
This will result in a UP/DOWN motion if you click the already expanded item but you could put in some checks to stop that if you wish.
Edit:
This is what is known as an Accordion and many examples and plugins can be found on the web. jQuery UI provides this functionality you can see it here; if you don't want to recreate the functionality it is usually trivial to add a plugin and have it perform this for you.