resolved delay in hiding action bar and status bar on orientation change