fix toolbar/statusbar view bug