scroll to top on complete before transition