added listener on nav