can you please try below,it will focus where you need to,remeber to customize values according to your need
window.onload = function () {
SetDetailsFocus();
}
function SetDetailsFocus() {
var divheight = document.getElementById("divSelectedItem");
var footerheight = document.getElementById("footer");
var _docHeight = $(document).height();
var scrollposition = _docHeight - (divheight.clientHeight + footerheight.clientHeight + 100);
window.scrollTo(0, scrollposition);
}