Inline option disables scroll on load

When the DOM loads the datepicker has disables scrolling option on the time selector. I first have to click the home button then the scroll bar appears.
I am using: http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js
and this options:
$('#datetimepicker3').datetimepicker({
format:'d.m.Y H:i',
inline:true,
lang:'en',
});
That also happens with the demo I download
same problem
This seems to be a repeated thread, but I am also experiencing this problem using jquery 1.11.1
Not sure what the problem is but have managed to stop it happening by simulating the pressing of the home button when the datetimepicker is created. In the js file look for:
if (options.inline) {
datetimepicker.addClass('xdsoft_inline');
input.after(datetimepicker).hide();
datetimepicker.trigger('afterOpen.xdsoft');
}
I got it to work by changing it to:
if (options.inline) {
datetimepicker.addClass('xdsoft_inline');
input.after(datetimepicker).hide();
_xdsoft_datetime.setCurrentTime(0);
setTimeout(function(){datetimepicker.trigger('afterOpen.xdsoft');}, 100);
}
The timeout is needed otherwise it does not seem to work.