added java example code for scrollTo action.
Merge pull request #1998 from danubiusdan/patch-1

added java example code for scrollTo action.