new func
improve scrollpage