Bounds checking on slider