Fixed slider bug on multiple clicks on the same button.