slider with graph