You can simply change position when resizing:
http://jsfiddle.net/jqrmh/4/
function moveit() {
$(".one").position({
"my": "right top",
"at": "right top",
"of": $(".main"),
"collision": "fit fit"
});
}
$(window).resize(function(){
moveit();
});
moveit();
Alternatively, assuming there is no other reason, you cannot just use css:
positon:relative position:absolute. top:0; right:0.
http://jsfiddle.net/jqrmh/5/