fixed the bug that required a mouse-move after triggering one of the next or previous events