add extension  for accessing top nav controller both on iphone and ipad