Added support for scrolling with and without animations to scrollview