updated widget trait, added slider widget