bug fix: changed the model var name
added slider control