replacing category hover delay with mouse direction detection.