Fixed bug
Fixed problem with slider.