add option:scrollElement

add option:scrollElement 
set scrollElement ,default value is window