Fixing the responsiveness of the slider