added listener methods and navigation panel