adding a function which is to highlight current location