added delay and auto next on click