support snap for scrollview