fixed navbar/statusbar layout bug