* ZSS-475:
 * migrate scrolling code and ZSS-219 fixed from 3.0
 * scrolling API support direction parameter
 * support auto-scrolling when selection
 * add test case