added buttons and sliderbar