add property to hide the statusbar