init a little better

I have managed to fix the bug but the top of the page goes a little down
when i enter another page.