disable and enable thickness slider