Horizontal scrolling

I want a smooth horizontal scrolling to go to the top of a page when clicking on links. It links a few rows down in an iPhone, so I would need a code that makes you end up on top.
It links to the right place in an iPhone but the address bar put in the way

This only happens after the page has fully loaded, and then links it with no smooth scrolling, then directly to a place without smooth scrolling.

I have tried this in my javascript:

window.scrollTo(0,0);

Do you mean vertical scrolling (that is, up and down)?

Are you able to post a link?

It looks something like this: http://gravitysign.com/fancyscroll/horizontal#/, but my site is about 3000px wide and 2000px high per section, which you scroll between (whole site about 12000px wide).
I have changed the javascript so that the page works without smooth scrolling before the page has finished loading and in that case you do not end up at the top of the page (section) in the iPhone.