make slider and ratchet work together