smooth scroll after paginating