i have a link on which i am opening a webpartpage embed in SharePoint ModalDialog. Inside webpart I have a textbox contains jquery.datepicker ..whenever i select the date the ribbons title scrolls up of dialogbox. I just figured out that if i place the following line in masterpage without the tag scroll="no"
<body onload="if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();" class="v4master" style="background-color: #F6F6F6">
I get two scroll bars like this (notice the extreme right) and when i select the date it actually scrolls up the ribbon and i need to go up again using the extreme right vertical scroll bar...but if put scroll="no" tag in box I only get 1 scroll bar the extreme right not the inside one..so when select the date and ribbon gets shifted up a little i cannot go up due to no scroll bar. how to fix this thing..I have fixed width master page design.
without scroll="no" directive in body tag (note two vertical scroll bars at right hand)

with scroll="no" in body tag (note single scroll bar at right hand)

here is my JQUERY in webpart.
<script type="text/javascript">
$(function () {
BindEvents();
});
$(function () {
var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_endRequest(function () {
BindEvents();
});
});
function BindEvents() {
var $ = jQuery.noConflict();
$('input[id*="txtftrNeededBy"]').datepicker({ dateFormat: 'dd-M-y', changeMonth: true, minDate: 0 });
$('input[id*="txtNeededBy"]').datepicker({ dateFormat: 'dd-M-y', changeMonth: true, minDate: 0 });
$('input[id*="txtftrQty"]').autoNumeric({ aSep: '', vMax: '999999', vMin: '0', wEmpty: 'zero', mDec: null });
$('input[id*="txtQty"]').autoNumeric({ aSep: '', vMax: '999999', vMin: '0', wEmpty: 'zero', mDec: null });
}
</script>