change page into middle