You can trigger()
the event handler immediately
$(window).scroll(function(e){
// my stuff
}).trigger('scroll');
EDIT:
per the comments, to make sure no other scroll event handlers are triggered, you can namespace the event
$(window).on('scroll.custom', function(e) {
// my stuff
}).trigger('scroll.custom');