Finish scroll to function