Add support for UINavigationBar hidding situation.