Better way to handle cursor slide.