allowed duScrollOffset to be function to allow use as a service.