moved the navigating event