Added animation.

Animations, options, automatic height animation.
Overflow hidden on #pagemanager

To prevent animation jump when animating the height.
Clean up