sliding bar reading data