remove duplication
add go to top function
Merge pull request #15 from vincent178/master

merge into main project