How to set target for scrollTop and scrollLeft

How to set target for scrollTop and scrollLeft

Hello. I am able to get the page to scroll using something like this

  1.                 $("html:not(:animated),body:not(:animated)").animate({ scrollTop: rw_X, scrollLeft: rw_Y},2000);

I was hoping to be able to target the animate element by using something like this

  1. document.body
Is this not possible?
What are some targets that allow you to scroll the page (the position of the scroll bars)?

Thanks
FA