animated the scrolling to give better Ui feedback