add scroll function
Merge pull request #12 from huangnoah/update-scroll

add scroll function