changed navi added event listener for handling location change