chage page when reach page edges