add double options to asScrollbar
add auto option function and direction for api function
fixed responsive bug when add auto mode
add direction to getElementOffset api