button control for slider