fix #35

slider constructor was called many times and update from scope not
handled well