Optimized carousel script. Now reuses same display_nextFn for click events and auto-scroll.