Cleanup. Added page transitions.