fixing height issue when statusbar is not hidden