slider bar, dialog box implemented