Actually, when we were designing the AppFlo.ws interface, we considered doing this to show/hide the caption area on the right. This JQuery plugin is pretty slick and there are demos on the page:
http://srobbin.com/jquery-plugins/pageslide/Hope that helps!