refactor(carousel): Remove duplicate code

Move go function out of restartTimer as it doesn't need to be re-created
during each interval.