I know how to do this for webkit browsers but i'm kinda stuck in firefox. The code below just animate the top-left corner while the rest just snap into places.
Here's my code:
$('img').hover(function(){
$(this).animate({
MozBorderRadius: '50px 50px 0px 0px'}, 900);
},function(){
$(this).animate({
MozBorderRadius: '25px 25px 0px 0px' }, 900);
});