fix bug with fixed navbar in iOS