Added code for navigation view