check limit on slider