slider: fix for double commands