On certain events I want the page in ITShop to scroll to the top or to the bottom of the page, what would be the best way to accomplish this?

I have some pages where I have listed product categories in tree views on top of the page and the data grids on the bottom of the page showing account products in relevant selected categories.

When user clicks on any category I want the page to scroll to the bottom of the page so they could see data grid. I have tried various options but couldnt get this working, any ideas?