Little tweak to fix glitchy sliding