Can the code be adapted to auto slide through the carousel as well as the navigation working? Thank you