Added click to scroll to index