Improved the transition from page to page