Index: wp-includes/js/swfupload/handlers.dev.js
===================================================================
--- wp-includes/js/swfupload/handlers.dev.js	(revision 12285)
+++ wp-includes/js/swfupload/handlers.dev.js	(working copy)
@@ -65,8 +65,15 @@
 	// Also bind toggle to the links
 	jQuery('a.toggle', item).click(function(){
 		jQuery(this).siblings('.slidetoggle').slideToggle(350, function(){
-			var o = jQuery(this).offset();
-			window.scrollTo(0, o.top - 36);
+			var w = jQuery(window).height();
+			var t = jQuery(this).offset().top;
+			var h = jQuery(this).height()
+			var b = t + h;
+			
+			if (b > w && (h + 48) < w)
+				window.scrollBy(0, b - w + 12);
+			else if (b > w)
+				window.scrollTo(0, t - 36);
 		});
 		jQuery(this).siblings('.toggle').andSelf().toggle();
 		jQuery(this).siblings('a.toggle').focus();
