Added code to show issue with navigation controller based views