* add pre/next page func