new mouse handling for slider