Sliding Affect

I was interested in figuring out how this affect was created, Is it done with actionscript or timeline? If anyone can help me out or point me to a tutorial which does that would be great.

*When you go to ‘Biography’ and the page slides up to cover the page ----

*When you mouse over the navigation on the top and it slides to the left/right ----

Any help with this would be greatly appreciated!