Fixed slider bug -- cleaned it up