Animation to scroll on search