Orientation change event added to fix bar issues.