updating status bar style according to orientation ref #6