input event for ranges