$(window).trigger('scroll')
$(popoupContent).trigger('scroll')
<div class="test">
<div class="bookmark">
Bookmark
</div>
</div>
$(document).ready(function () {
var $bookmark = $(".bookmark");
var y = $bookmark.offset().top;
$(window).scrollTop(y);
});