Implementation of middle page.