partitioned slider bar to num of images