added a sliding bar.