add scroll function
scroll the remaining pages